import request from '@/utils/request'
import {encrypt} from "@/utils/jsencrypt";
export function findAll(DTO) {
  return request({
    url: '/find/touristguide/page',
    method: 'get',
    params: DTO
  })
}
export function deleteBatch(ids) {
  return request({
    url: '/touristguide/delete/batch',
    method: 'post',
    data: ids
  })
}
export function deleteTour(id) {
  return request({
    url: '/touristguide/delete',
    method: 'get',
    params: id
  })
}
export function addTour(tour) {
  return request({
    url: '/touristguide/add',
    method: 'get',
    params: tour
  })
}
export function updateTour(tour) {
  return request({
    url: '/touristguide/update',
    method: 'get',
    params: tour
  })
}
